package cn.itcast.utils;

import org.apache.shiro.crypto.hash.Md5Hash;


public class Encrypt {

    //高强度加密算法,不可逆
    public static String md5(String password, String salt){
        return new Md5Hash(password,salt,2).toString();
    }

}